/**
 * 
 */
package cn.com.rexen.rplus.sa.model;

/**
 * 分页VO.
 * 
 * @author zhanghai
 * 
 */
@SuppressWarnings("serial")
public class PageVO extends BaseVO {

    /**
     * 总页数.
     */
    private int totalPage;

    /**
     * 当前页.
     */
    private int currentPage;

    /**
     * 总记录数.
     */
    private long count;

    /**
     * 分页VO构造方法.
     * 
     * @param totalPage
     *            总页数.
     * @param currentPage
     *            当前页.
     * @param count
     *            总记录数.
     */
    public PageVO(int totalPage, int currentPage, long count) {
        super();
        this.totalPage = totalPage;
        this.currentPage = currentPage;
        this.count = count;
    }

    /**
     * 返回totalPage.
     * 
     * @return the totalPage
     */
    public int getTotalPage() {
        return totalPage;
    }

    /**
     * 设置totalPage.
     * 
     * @param totalPage
     *            the totalPage to set
     */
    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    /**
     * 返回currentPage.
     * 
     * @return the currentPage
     */
    public int getCurrentPage() {
        return currentPage;
    }

    /**
     * 设置currentPage.
     * 
     * @param currentPage
     *            the currentPage to set
     */
    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    /**
     * 返回count.
     * 
     * @return the count
     */
    public long getCount() {
        return count;
    }

    /**
     * 设置count.
     * 
     * @param count
     *            the count to set
     */
    public void setCount(long count) {
        this.count = count;
    }

}
